﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace _619BJP.Models
{
   public class ProductModel
    {

        public int ProductID { get; set; }

        [Required]
        public string product_name { get; set; }
        [Required]
        public string description { get; set; }
        [Required]
        public int category_id { get; set; }
        [Required]
        public string category_name { get; set; }
        [Required]
        public int brand_id { get; set; }
        [Required]
        public string brand_name { get; set; }
        [Required]
        public int view_count { get; set; }
        [Required]
        public string img_url { get; set; }
        [Required]
        public string producer { get; set; }
        [Required]
        public string approve_number { get; set; }
        [Required]
        public string health_functions { get; set; }
        [Required]
        public string suit_crowds { get; set; }
        [Required]
        public float market_price { get; set; }
        [Required]
        public string product_specification { get; set; }
       
       
      

    }
}
